package com.qcby.service.Iface;

import com.qcby.entity.Clazz;
import com.qcby.entity.Course;
import com.qcby.entity.Student;
import com.qcby.entity.Teacher;

import java.util.List;

public interface TeacherService {
    public List<Teacher> findAll();
    public int findAllCount();
    public int findAllCountBySearch(Teacher teacher);
    public List<Teacher> findAllBySearch(Teacher teacher);
    public int addTeacher(Teacher teacher);
    public Teacher updateTeacherInfro(int id);
    public int updateTeacher(Teacher teacher);
    public List<Clazz> loadTeacherClass(int id);
    public List<Course> loadTeacherCourse(int id);
    public List<Student> findOneTeacherClass(int id);
    public String delete(int id);
}
